<?php
@session_start();
header('Content-Type: text/html; charset=UTF-8');
?>
<html>
	<head>
		<title>MyDict <?php echo VERSION?></title>
		<link href="favicon.ico" rel="icon" type="image/x-icon" />
		<?php $this->printStyles();?>
		<style type="text/css">
			header, section.main {
				width: 800px;
				margin: 0 auto;
				clear: both;
			}
			body {
				background-color: #F3F3F3;
			}
			header > h1 {
				float: left;
			}
			header > nav {
				float: right;
				text-align: right;
			}
		</style>
	</head>
	<body>
		<header>
			<h1>MyDict <?php echo VERSION?></h1>
			<nav>
				<a href="index.php">Dict</a> | <a href="review.php">Review</a> | <a href="cat.php">Cat</a><br />
				<?php include_once $this->template_dir . '/user_info.inc.php';?>
			</nav>
		</header>
		<section class="main">
			<?php include_once $content_file_name;?>
		</section>		
	</body>
</html>